<template>
  <div id="app">
    <transition name="slide-fade">
      <router-view/>
    </transition>
  </div>
</template>

<script>
import { createDecipher } from 'crypto';
export default {
  name: 'App',
  data(){
    return{}
  }
}
</script>

<style>
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
html,body{
  height: 100%;
  overflow: hidden;
}
.fl{
  float: left;
}
.clearfix:before,
.clearfix:after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  visibility: hidden;
  clear: both;
}
#app {
  height: 100%;
  background: url(../static/images/page_bg.jpg) no-repeat center;
  background-size: cover;
  color: #fff;
  overflow: auto;
}
.el-container{
  display: block;
  position: relative;
  width: 1200px;
  margin: 0 auto;
}
.slide-fade{
 position: absolute;
 left:0;
 right: 0;
 overflow: hidden;
}
.slide-fade-enter-active {
 transition: all 1s ease;
}
.slide-fade-leave-active {
 
 transition: all 0.2s cubic-bezier(2.0, 0.5, 0.8, 1.0);
}
.slide-fade-enter, .slide-fade-leave-to
{
position: absolute;
 left:0;
 right: 0;
 transform: translateY(100%);
 opacity: 0;
 overflow: hidden;
}

</style>
